module.exports = {
  publicPath: process.env.NODE_ENV === 'production'
    ? './'
    : '/',
  productionSourceMap:false,
  devServer: {
    // proxy: 'http://wxtest.uaryd.com/'
    proxy: {
      '/api': {
        target: 'http://wxtest.uaryd.com/',
        changeOrigin: true,
        pathRewrite: {
          '^/api': ''
        }
      },
    }
  }
}